package util.remote;

import common.AnalysisWare;
import util.mysql.MysqlConf;
import util.redis.RedisConf;

/**
 * 远程服务器配置
 *
 * Created by J.Chen on 2017/5/19.
 */
public class RemoteConf {


    private RemoteType remoteType = RemoteType.qq;
    private String ip;


    private MysqlConf mysqlConf;
    private RedisConf redisConf;


    public boolean isDuowan() {
        return remoteType == RemoteType.yy;
    }

    public RemoteType getRemoteType() {
        return remoteType;
    }

    public void setRemoteType(RemoteType remoteType) {
        this.remoteType = remoteType;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public MysqlConf getMysqlConf() {
        return mysqlConf;
    }

    public void setMysqlConf(MysqlConf mysqlConf) {
        this.mysqlConf = mysqlConf;
    }

    public RedisConf getRedisConf() {
        return redisConf;
    }

    public void setRedisConf(RedisConf redisConf) {
        this.redisConf = redisConf;
    }
}